package com.dao;

import config.AppConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);

        DeptDao deptDao = context.getBean(DeptDao.class);
        deptDao.insert();


    }
}
